package com.app.mymusic.ui.login;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2016-12-5.
 */
@Module
public class LoginModule {
    private LoginActivity a;

    public LoginModule(LoginActivity a) {
        this.a = a;
    }

    @Provides
    LoginPresenter provideLoginPresenter(){
        return new LoginPresenter(a);
    }
    @Provides
    LoginActivity provideLoginActivity(){
        return a;
    }
}
